home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / rayshade-4.0.6.3 / rayfiles / rsdefs / docs / surfaces.doc < prev    next >
Text File  |  1994-08-09  |  3KB  |  93 lines

  1. Surfaces
  2. ========
  3.     All surfaces are defined as macros and take a single argument:
  4. "prefix".  This allows the creation of a named surface.  For example,
  5. "RSSruby(surface jem1)" will create a surface named jem1 that can be used
  6. later as in "sphere jem1 1  0 0 0".  Leaving the argument blank will create
  7. an instance of the surface, so "sphere RSSruby() 1  0 0 0" will accomplish
  8. the same thing as the previous example. (Note: named surfaces take less
  9. memory in rayshade if the surface is used more than once.)
  10.  
  11.     The following surfaces are defined:
  12.  
  13. RSSair(prefix)
  14. RSSambulance(prefix)
  15. RSSaqua_dull(prefix)
  16. RSSaqua_polished(prefix)
  17. RSSbeerbottle(prefix)
  18. RSSbristle_white(prefix)
  19. RSSbrown(prefix)
  20. RSSbrownglass(prefix)
  21. RSSchrome_silver(prefix)
  22. RSScopper_dull(prefix)
  23. RSScopper_polished(prefix)
  24. RSScrystal(prefix)
  25. RSSdiamond(prefix)
  26. RSSdiamond_blue(prefix)
  27. RSSdiamond_brown(prefix)
  28. RSSdiamond_white(prefix)
  29. RSSdiamond_yellow(prefix)
  30. RSSemerald(prefix)
  31. RSSemeralddark(prefix)
  32. RSSemeraldpale(prefix)
  33. RSSfiretruck(prefix)
  34. RSSglass_azure(prefix)
  35. RSSglass_blue(prefix)
  36. RSSglass_green(prefix)
  37. RSSglass_new(prefix)
  38. RSSglass_rihi(prefix)
  39. RSSglass_rilow(prefix)
  40. RSSglass_rimed(prefix)
  41. RSSgold(prefix)
  42. RSSgold_pale(prefix)
  43. RSSgreengrass(prefix)
  44. RSSice(prefix)
  45. RSSnavyglass(prefix)
  46. RSSoliveglossy(prefix)
  47. RSSorangeflat(prefix)
  48. RSSpinkflat(prefix)
  49. RSSplastic(prefix)
  50. RSSplastic_red(prefix)
  51. RSSplastic_yellow(prefix)
  52. RSSporcelain_pink(prefix)
  53. RSSredbrick(prefix)
  54. RSSredflat(prefix)
  55. RSSredglossy(prefix)
  56. RSSredneon(prefix)
  57. RSSruby(prefix)
  58. RSSruby_spinel(prefix)
  59. RSSsapphire(prefix)
  60. RSSsilver(prefix)
  61. RSSsoap_light(prefix)
  62. RSSsteelpolished(prefix)
  63. RSStest_black(prefix)
  64. RSStest_blue(prefix)
  65. RSStest_burgundy(prefix)
  66. RSStest_green(prefix)
  67. RSStest_red(prefix)
  68. RSStest_white(prefix)
  69. RSSturquoiseflat(prefix)
  70.  
  71.     You use them like this:
  72.  
  73.     sphere RSSsilver()    1.0    0.0 0.0 0.0
  74.  
  75.     or:
  76.  
  77.     RSSsilver(surface silver)
  78.     sphere silver        1.0    0.0 0.0 0.0
  79.  
  80.     There's enough to get a good idea of what you want.  (If you
  81. don't think so, send us some more to add to the list!)  Then you can
  82. make your own surface that's a copy of the one closest to what you
  83. need, and edit that.  (Please don't edit the .rh files!  We're trying
  84. to make a standard here! :)
  85.  
  86.     Their names (hopefully) describe them pretty well.  We used
  87. the same test scene to view all the surfaces.  That test scene is
  88. included with the Rayshade Standard Header Files release.  It's called
  89. 'testsurf.ray'.
  90.  
  91.     The file "surfaces.info" contains information useful for creating new
  92. surfaces (refractive indeces and some color info for now).
  93.